package com.windgo.service;


import com.windgo.bean.bo.WxFeedBackBo;

import com.windgo.bean.MarketCategory;
import com.windgo.bean.MarketUser;
import com.windgo.bean.common.CommonData;
import com.windgo.bean.vo.MarketCategoryInfoVO;
import com.windgo.bean.vo.MarketCategoryL1VO;

import com.windgo.bean.wxVo.*;

import com.windgo.bean.vo.MarketCategoryWithChildrenList;


/**
 * @author stone
 * @date 2022/09/08 15:10
 */
public interface CategoryService {



    void modify(MarketCategory marketCategory);

    CommonData<MarketCategoryInfoVO> listCategory();

    CommonData<MarketCategoryL1VO> listCategoryL1();


    WxCategoryVo1 selectCategoryById(Integer id);

    WxCategoryVo2 selectAllCategoty();


    MarketCategory create(MarketCategory marketCategory);

    void updateCategoryInfo(MarketCategoryWithChildrenList marketCategoryInfoVO);

    void logicDelete(MarketCategoryWithChildrenList marketCategoryInfoVO);

    CommonData<WxTopicListVo> getTopicList(Integer page, Integer limit);

    WxTopicDetailVo getTopicDetailById(Integer id);

    CommonData<TopicEntity> getTopicRelated(Integer id);

    int addFeedBack(WxFeedBackBo wxFeedBackBo, MarketUser marketUser);

}

